package com.baidu.enetity;

import java.sql.Timestamp;

import jpersist.PersistentObject;

/**
 * Dailishang entity. @author MyEclipse Persistence Tools
 */

public class Dailishang extends PersistentObject implements java.io.Serializable {

	// Fields

	private Integer id;
	private String account;
	private String pass;
	private String name;
	private Integer credit;
	private Integer count;
	private Timestamp lastLog;
	private Timestamp createTime;
	private Integer state;
	private Integer vipcount;
	private Integer vip;
	private Integer partCredit;
	public Dailishang(Integer id, String account, String pass, String name,
			Integer credit, Integer count, Timestamp lastLog,
			Timestamp createTime, Integer state, Integer vipcount,
			Integer partCredit, Integer vip) {
		super();
		this.id = id;
		this.account = account;
		this.pass = pass;
		this.name = name;
		this.credit = credit;
		this.count = count;
		this.lastLog = lastLog;
		this.createTime = createTime;
		this.state = state;
		this.vipcount = vipcount;
		this.partCredit = partCredit;
		this.vip = vip;
	}

	public Integer getVip() {
		return vip;
	}

	public void setVip(Integer vip) {
		this.vip = vip;
	}
	// Constructors

	/** default constructor */
	public Dailishang() {
	}

	/** full constructor */
	public Dailishang(String account, String pass, String name, Integer credit,
			Integer count, Timestamp lastLog, Timestamp createTime,
			Integer state, Integer vipcount, Integer partCredit) {
		this.account = account;
		this.pass = pass;
		this.name = name;
		this.credit = credit;
		this.count = count;
		this.lastLog = lastLog;
		this.createTime = createTime;
		this.state = state;
		this.vipcount = vipcount;
		this.partCredit = partCredit;
	}
	// Property accessors
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getAccount() {
		return this.account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPass() {
		return this.pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getCredit() {
		return this.credit;
	}

	public void setCredit(Integer credit) {
		this.credit = credit;
	}

	public Integer getCount() {
		return this.count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Timestamp getLastLog() {
		return this.lastLog;
	}

	public void setLastLog(Timestamp lastLog) {
		this.lastLog = lastLog;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getVipcount() {
		return this.vipcount;
	}

	public void setVipcount(Integer vipcount) {
		this.vipcount = vipcount;
	}

	public Integer getPartCredit() {
		return this.partCredit;
	}

	public void setPartCredit(Integer partCredit) {
		this.partCredit = partCredit;
	}

}